Fix numpad handling in QEMU's VNC server. The keymaps that we have include
authorEwan Mellor <ewan@xensource.com>
Mon, 4 Dec 2006 17:52:33 +0000 (17:52 +0000)
committerEwan Mellor <ewan@xensource.com>
Mon, 4 Dec 2006 17:52:33 +0000 (17:52 +0000)
commit4a0a4459e934bc73e3bce714bfd01c16e90c7ce2
tree2490a8d52bdd6ea6e0bc67735515968513931220
parent549aad081dd9b21f551edfdd16746de8a67aecf0
Fix numpad handling in QEMU's VNC server.  The keymaps that we have include
information on which keys change depending upon the numlock setting, but
this isn't being used.  By forcing numlock on and off as necessary, when
receiving these keysyms through the VNC connection, we ensure that the
server's numlock status is the same as the client's.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/ioemu/keymaps.c
tools/ioemu/vnc.c
tools/ioemu/vnc_keysym.h